package com.example.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "serviceB", path = "/serverB")
public interface ServiceBClient {
    @GetMapping("/info")
    String getUserById();
}
